<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微信同步助手 - 悬浮窗口</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: transparent;
            overflow: hidden;
        }
        
        #floating-app {
            width: 400px;
            height: 500px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            border: 1px solid #e0e0e0;
            position: relative;
            overflow: hidden;
        }
        
        .floating-header {
            background: #409EFF;
            color: white;
            padding: 12px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: move;
            user-select: none;
        }
        
        .floating-title {
            font-size: 14px;
            font-weight: 500;
        }
        
        .floating-controls {
            display: flex;
            gap: 8px;
        }
        
        .floating-btn {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }
        
        .floating-btn:hover {
            background: rgba(255,255,255,0.3);
        }
        
        .floating-content {
            height: calc(100% - 48px);
            overflow-y: auto;
            padding: 16px;
        }
        
        .task-item {
            background: #f5f7fa;
            border-radius: 6px;
            padding: 12px;
            margin-bottom: 8px;
            border-left: 4px solid #409EFF;
        }
        
        .task-title {
            font-size: 14px;
            font-weight: 500;
            color: #303133;
            margin-bottom: 4px;
        }
        
        .task-status {
            font-size: 12px;
            color: #909399;
        }
        
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #909399;
        }
        
        .empty-icon {
            font-size: 48px;
            margin-bottom: 16px;
            opacity: 0.5;
        }
    </style>
</head>
<body>
    <div id="floating-app">
        <div class="floating-header" id="drag-handle">
            <div class="floating-title">微信同步助手</div>
            <div class="floating-controls">
                <button class="floating-btn" id="minimize-btn" title="最小化">−</button>
                <button class="floating-btn" id="close-btn" title="关闭">×</button>
            </div>
        </div>
        <div class="floating-content" id="floating-content">
            <div class="empty-state">
                <div class="empty-icon">📋</div>
                <div>暂无任务</div>
            </div>
        </div>
    </div>

    <script src="floating-window.js"></script>
</body>
</html>